window.onload=function (){
    const back=document.querySelector('.menu');
    back.addEventListener('click',function (){
     self.location='main.html'
    })
}